<?php
$servidor= "10.29.65.53";
$basedatos= "sigefirrhh_nc_db";
$username= "rvasquez";
$password= "19477445";
$port="5432";

$conec = pg_connect("host=$servidor port=$port dbname=$basedatos user=$username password=$password") or die('Imposible conectarse ' . pg_last_error());
if ($conec==TRUE){
}

?>